contrastWarningsIn

fun contrastWarningsIn(traits: UITraitCollection): List<String>(source)

Contrast problems when the colors are resolved for traits, for example dark mode or Increase Contrast.